package com.xin.springclouduser.enums;

import lombok.Getter;

@Getter
public enum UserEnum {
    FORM_PARAM_ERROR(1,"参数错误"),
    CREATE_USER_ERROR(2,"创建用户失败"),
    UPDATE_USER_ERROR (3,"修改用户信息失败"),
    DELETE_USER_ERROR(4,"删除用户失败"),
    USER_NOT_EXIST(5,"用户不存在"),
    USER_PASSWORD_ERROR(6,"用户密码错误"),
    ;
    private Integer code;
    private String message;

    UserEnum(Integer code,String message){
        this.code=code;
        this.message=message;
    }

}
